
// FovDrivenRadiosity.h : main header file for the PROJECT_NAME application
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols

class Parameters;

// CFovDrivenRadiosityApp:
// See FovDrivenRadiosity.cpp for the implementation of this class
//

class CFovDrivenRadiosityApp : public CWinApp
{
public:
	CFovDrivenRadiosityApp();
	~CFovDrivenRadiosityApp();

	// Overrides
public:
	virtual BOOL InitInstance();
	void ReadParameters(void);
	void WriteParameters(void);
	Parameters* GlobalParameters(void) {return _parameters;}

	// Implementation

	DECLARE_MESSAGE_MAP()
protected:
	Parameters *_parameters;

	CString _registryKey;
	CString _section;
	CString _windowWidth;
	CString _windowHeight;
	CString _radiosityAlgorithm;
	CString _ambient;
	CString _filename;
	CString _subdivisionLevel;
	CString _itemBufferResolution;
	CString _fullscreen;
	CString _visualization;
	CString _fps;
	CString _shootLevel;
	CString _fovAngle;
	CString _fovDecayInterval;
	CString _unshotMipmapShootLevel;
	CString _cameraPosition[2];
	CString _cameraAim[2];
	CString _cameraUp[2];
	CString _dualView;
};

extern CFovDrivenRadiosityApp theApp;